{% extends "base.html" %}
{% block title %}Searching by tag{% endblock %}
{% block content %}
<form action='/search' method='get'>
    Enter a tag to search for: <input type='text' name='q'>
  <input type='submit' value='Search'>
</form>
{% for cloth in cloths %}
<div class='clothpreview'>
  <img src='/thumbnail/{{cloth.key}}'>
  <div class='clothlink'><a
  href='/show_cloth/{{cloth.key}}'>{{cloth.title}}</a></div>
  <div class='clothsubmitter'>{{cloth.submitter}}</div>
</div>
{% endfor %}
<a href='/'>Browse categories</a>
{% endblock %}
